/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tracibilityRouter = {
  path: '/tracibility',
  component: Layout,
  hidden: false,
  redirect: '/tracibility/productSummary',
  name: 'Tracibility',
  meta: {
    title: 'tracibility',
    icon: 'link',
    roles: ['admin']
  },
  children: [
    {
      path: 'productSummary',
      component: () => import('@/views/tracibility/productSummary'),
      name: 'ProductSummary',
      meta: { title: 'productSummary', roles: ['admin'] }
    },
    {
      path: 'processSummary',
      component: () => import('@/views/tracibility/processSummary'),
      name: 'ProcessSummary',
      meta: { title: 'processSummary', roles: ['admin'] }
    },
    {
      path: 'dataSummary',
      component: () => import('@/views/tracibility/dataSummary'),
      name: 'DataSummary',
      meta: { title: 'dataSummary', roles: ['admin'] }
    }//,
    // {
    //   path: 'cpkCaculate',
    //   component: () => import('@/views/tracibility/dataSummary'),
    //   name: 'CpkCaculate',
    //   meta: { title: 'cpkCaculate', roles: ['admin'] }
    // }
  ]
}

export default tracibilityRouter
